home *** CD-ROM | disk | FTP | other *** search
- /* Rubber.c generated from Rubber.psw
- by unix pswrap V1.009 Wed Apr 19 17:50:24 PDT 1989
- */
-
- #include <dpsclient/dpsfriends.h>
- #include <string.h>
-
- #line 1 "Rubber.psw"
- /*
- Written by Slugg Jello,
- Mouthing Flowers
- 152 20th Ave. #1
- Seattle, WA. 98112
- slugg@mouthers.nwnexus.wa.com
- */
- #line 17 "Rubber.c"
- void PSWInitRubberband( void )
- {
- typedef struct {
- unsigned char tokenType;
- unsigned char topLevelCount;
- unsigned short nBytes;
-
- DPSBinObjGeneric obj0;
- DPSBinObjGeneric obj1;
- DPSBinObjGeneric obj2;
- DPSBinObjGeneric obj3;
- char obj4[17];
- char obj5[16];
- } _dpsQ;
- static const _dpsQ _dpsF = {
- DPS_DEF_TOKENTYPE, 4, 69,
- {DPS_EXEC|DPS_NAME, 0, 16, 49}, /* windowPackage1.0 */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 13}, /* begin */
- {DPS_EXEC|DPS_NAME, 0, 17, 32}, /* ensureEdgeWindows */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 57}, /* end */
- {'e','n','s','u','r','e','E','d','g','e','W','i','n','d','o','w','s'},
- {'w','i','n','d','o','w','P','a','c','k','a','g','e','1','.','0'},
- }; /* _dpsQ */
- register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
- char pad[3];
- DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,69);
- if (0) *pad = 0; /* quiets compiler warnings */
- }
- #line 14 "Rubber.psw"
-
- #line 48 "Rubber.c"
- void PSWPositionRect(const float coords[])
- {
- typedef struct {
- unsigned char tokenType;
- unsigned char topLevelCount;
- unsigned short nBytes;
-
- DPSBinObjGeneric obj0;
- DPSBinObjGeneric obj1;
- DPSBinObjGeneric obj2;
- DPSBinObjGeneric obj3;
- DPSBinObjGeneric obj4;
- } _dpsQ;
-
- typedef struct {
- char obj5[16];
- char obj6[16];
- } _dpsQ1;
- static const _dpsQ _dpsF = {
- DPS_DEF_TOKENTYPE, 5, 204,
- {DPS_EXEC|DPS_NAME, 0, 16, 184}, /* windowPackage1.0 */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 13}, /* begin */
- {DPS_LITERAL|DPS_ARRAY, 0, 16, 40}, /* param[const]: coords */
- {DPS_EXEC|DPS_NAME, 0, 16, 168}, /* placeEdgeWindows */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 57}, /* end */
- }; /* _dpsQ */
- static const _dpsQ1 _dpsF1 = {
- {'p','l','a','c','e','E','d','g','e','W','i','n','d','o','w','s'},
- {'w','i','n','d','o','w','P','a','c','k','a','g','e','1','.','0'},
- }; /* _dpsQ1 */
- register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
- char pad[3];
- DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,44);
- DPSWriteTypedObjectArray(_dpsCurCtxt, dps_tFloat, (char *)coords, 16);
- DPSWriteStringChars(_dpsCurCtxt,(char *) &_dpsF1,32);
- if (0) *pad = 0; /* quiets compiler warnings */
- }
- #line 20 "Rubber.psw"
-
- #line 88 "Rubber.c"
- void PSWMakeVisible(int bIsVisible)
- {
- typedef struct {
- unsigned char tokenType;
- unsigned char topLevelCount;
- unsigned short nBytes;
-
- DPSBinObjGeneric obj0;
- DPSBinObjGeneric obj1;
- DPSBinObjGeneric obj2;
- DPSBinObjGeneric obj3;
- DPSBinObjGeneric obj4;
- DPSBinObjGeneric obj5;
- DPSBinObjGeneric obj6;
- DPSBinObjGeneric obj7;
- DPSBinObjGeneric obj8;
- char obj9[15];
- char obj10[15];
- char obj11[16];
- } _dpsQ;
- static const _dpsQ _dpsStat = {
- DPS_DEF_TOKENTYPE, 7, 122,
- {DPS_EXEC|DPS_NAME, 0, 16, 102}, /* windowPackage1.0 */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 13}, /* begin */
- {DPS_LITERAL|DPS_BOOL, 0, 0, 0}, /* param: bIsVisible */
- {DPS_EXEC|DPS_ARRAY, 0, 1, 64},
- {DPS_EXEC|DPS_ARRAY, 0, 1, 56},
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 85}, /* ifelse */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 57}, /* end */
- {DPS_EXEC|DPS_NAME, 0, 15, 87}, /* hideEdgeWindows */
- {DPS_EXEC|DPS_NAME, 0, 15, 72}, /* showEdgeWindows */
- {'s','h','o','w','E','d','g','e','W','i','n','d','o','w','s'},
- {'h','i','d','e','E','d','g','e','W','i','n','d','o','w','s'},
- {'w','i','n','d','o','w','P','a','c','k','a','g','e','1','.','0'},
- }; /* _dpsQ */
- _dpsQ _dpsF; /* local copy */
- register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
- char pad[3];
- register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
- _dpsF = _dpsStat; /* assign automatic variable */
-
- _dpsP[2].val.booleanVal = (long) (0 != bIsVisible);
- DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,122);
- if (0) *pad = 0; /* quiets compiler warnings */
- }
- #line 26 "Rubber.psw"
-
-
-